#ifndef __HardwareProfile_h__
#define __HardwareProfile_h__

//#define Proteus
#define Model_Temperature 2
#define ModelType Model_Temperature
#define RS485DE_W RB5
#define RS485DE_IO	TRISB5
#include "..\CommHardwareProfile.h"


#define RUNLED_W RA1
#define RUNLED_IO TRISA1

#define ONEWIRE_PIN_DIR	TRISB0
#define ONEWIRE_PIN_W	RB0
#define ONEWIRE_PIN_R 	RB0
//#define OneWire_ReadDelayOffSet 4
#include "OneWire.h"
#include "DS18x20.h"

unsigned int RunLedTick;
unsigned int PickTTick;
uint Temperature;
#define MaxErrTimes 3
unsigned char ErrTimes;
#endif
